<#ftl ns_prefixes={"orm": "http://java.sun.com/xml/ns/persistence/orm"}
	encoding="UTF-8" /><#recurse doc><#macro "orm:entity-mappings">
	<#global class = .node["orm:entity"].@class />
	<#global package = .node["orm:package"] />
</#macro>package ${package};

import ${package}.${class};

import com.googlecode.horncomb.web.spring.mvc.Form;

/**
 * ${class} edit form<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2"></td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:</td>
 * <td>修改人:</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author
 * @version $Id$
 */
public class ${class}EditForm implements Form
{
    /** 表单事件 */
    private String event;
    /** entity object */
    private ${class} ${class?uncap_first} = new ${class}();

    /**
     * {@inheritDoc}
     */
    public String getEvent()
    {
        return event;
    }

    /**
     * {@inheritDoc}
     */
    public void setEvent(String event)
    {
        this.event = event;
    }

    /**
     * @return the ${class?uncap_first}
     */
    public ${class} get${class}()
    {
        return ${class?uncap_first};
    }

    /**
     * @param ${class?uncap_first}
     *        the ${class?uncap_first} to set
     */
    public void set${class}(${class} ${class?uncap_first})
    {
        this.${class?uncap_first} = ${class?uncap_first};
    }
}
